package cn.uexpo.lhz.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ManageEquipmentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ManageEquipmentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("Equipment.id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Equipment.id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("Equipment.id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("Equipment.id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("Equipment.id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Equipment.id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("Equipment.id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("Equipment.id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("Equipment.id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("Equipment.id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("Equipment.id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Equipment.id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("Equipment.name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("Equipment.name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("Equipment.name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("Equipment.name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("Equipment.name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("Equipment.name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("Equipment.name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("Equipment.name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("Equipment.name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("Equipment.name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("Equipment.name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("Equipment.name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("Equipment.name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andDeviceipIsNull() {
            addCriterion("Equipment.deviceIp is null");
            return (Criteria) this;
        }

        public Criteria andDeviceipIsNotNull() {
            addCriterion("Equipment.deviceIp is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceipEqualTo(String value) {
            addCriterion("Equipment.deviceIp =", value, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipNotEqualTo(String value) {
            addCriterion("Equipment.deviceIp <>", value, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipGreaterThan(String value) {
            addCriterion("Equipment.deviceIp >", value, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.deviceIp >=", value, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipLessThan(String value) {
            addCriterion("Equipment.deviceIp <", value, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipLessThanOrEqualTo(String value) {
            addCriterion("Equipment.deviceIp <=", value, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipLike(String value) {
            addCriterion("Equipment.deviceIp like", value, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipNotLike(String value) {
            addCriterion("Equipment.deviceIp not like", value, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipIn(List<String> values) {
            addCriterion("Equipment.deviceIp in", values, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipNotIn(List<String> values) {
            addCriterion("Equipment.deviceIp not in", values, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipBetween(String value1, String value2) {
            addCriterion("Equipment.deviceIp between", value1, value2, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceipNotBetween(String value1, String value2) {
            addCriterion("Equipment.deviceIp not between", value1, value2, "deviceip");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNull() {
            addCriterion("Equipment.deviceId is null");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNotNull() {
            addCriterion("Equipment.deviceId is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceidEqualTo(String value) {
            addCriterion("Equipment.deviceId =", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotEqualTo(String value) {
            addCriterion("Equipment.deviceId <>", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThan(String value) {
            addCriterion("Equipment.deviceId >", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.deviceId >=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThan(String value) {
            addCriterion("Equipment.deviceId <", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThanOrEqualTo(String value) {
            addCriterion("Equipment.deviceId <=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLike(String value) {
            addCriterion("Equipment.deviceId like", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotLike(String value) {
            addCriterion("Equipment.deviceId not like", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIn(List<String> values) {
            addCriterion("Equipment.deviceId in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotIn(List<String> values) {
            addCriterion("Equipment.deviceId not in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidBetween(String value1, String value2) {
            addCriterion("Equipment.deviceId between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotBetween(String value1, String value2) {
            addCriterion("Equipment.deviceId not between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("Equipment.type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("Equipment.type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("Equipment.type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("Equipment.type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("Equipment.type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("Equipment.type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("Equipment.type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("Equipment.type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("Equipment.type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("Equipment.type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("Equipment.type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("Equipment.type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("Equipment.type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andItemIsNull() {
            addCriterion("Equipment.item is null");
            return (Criteria) this;
        }

        public Criteria andItemIsNotNull() {
            addCriterion("Equipment.item is not null");
            return (Criteria) this;
        }

        public Criteria andItemEqualTo(String value) {
            addCriterion("Equipment.item =", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotEqualTo(String value) {
            addCriterion("Equipment.item <>", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemGreaterThan(String value) {
            addCriterion("Equipment.item >", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.item >=", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemLessThan(String value) {
            addCriterion("Equipment.item <", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemLessThanOrEqualTo(String value) {
            addCriterion("Equipment.item <=", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemLike(String value) {
            addCriterion("Equipment.item like", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotLike(String value) {
            addCriterion("Equipment.item not like", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemIn(List<String> values) {
            addCriterion("Equipment.item in", values, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotIn(List<String> values) {
            addCriterion("Equipment.item not in", values, "item");
            return (Criteria) this;
        }

        public Criteria andItemBetween(String value1, String value2) {
            addCriterion("Equipment.item between", value1, value2, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotBetween(String value1, String value2) {
            addCriterion("Equipment.item not between", value1, value2, "item");
            return (Criteria) this;
        }

        public Criteria andActivityIsNull() {
            addCriterion("Equipment.activity is null");
            return (Criteria) this;
        }

        public Criteria andActivityIsNotNull() {
            addCriterion("Equipment.activity is not null");
            return (Criteria) this;
        }

        public Criteria andActivityEqualTo(String value) {
            addCriterion("Equipment.activity =", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityNotEqualTo(String value) {
            addCriterion("Equipment.activity <>", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityGreaterThan(String value) {
            addCriterion("Equipment.activity >", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.activity >=", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityLessThan(String value) {
            addCriterion("Equipment.activity <", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityLessThanOrEqualTo(String value) {
            addCriterion("Equipment.activity <=", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityLike(String value) {
            addCriterion("Equipment.activity like", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityNotLike(String value) {
            addCriterion("Equipment.activity not like", value, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityIn(List<String> values) {
            addCriterion("Equipment.activity in", values, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityNotIn(List<String> values) {
            addCriterion("Equipment.activity not in", values, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityBetween(String value1, String value2) {
            addCriterion("Equipment.activity between", value1, value2, "activity");
            return (Criteria) this;
        }

        public Criteria andActivityNotBetween(String value1, String value2) {
            addCriterion("Equipment.activity not between", value1, value2, "activity");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("Equipment.location is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("Equipment.location is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("Equipment.location =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("Equipment.location <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("Equipment.location >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.location >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("Equipment.location <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("Equipment.location <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("Equipment.location like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("Equipment.location not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("Equipment.location in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("Equipment.location not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("Equipment.location between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("Equipment.location not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andChannelnumberIsNull() {
            addCriterion("Equipment.channelNumber is null");
            return (Criteria) this;
        }

        public Criteria andChannelnumberIsNotNull() {
            addCriterion("Equipment.channelNumber is not null");
            return (Criteria) this;
        }

        public Criteria andChannelnumberEqualTo(String value) {
            addCriterion("Equipment.channelNumber =", value, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberNotEqualTo(String value) {
            addCriterion("Equipment.channelNumber <>", value, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberGreaterThan(String value) {
            addCriterion("Equipment.channelNumber >", value, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.channelNumber >=", value, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberLessThan(String value) {
            addCriterion("Equipment.channelNumber <", value, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberLessThanOrEqualTo(String value) {
            addCriterion("Equipment.channelNumber <=", value, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberLike(String value) {
            addCriterion("Equipment.channelNumber like", value, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberNotLike(String value) {
            addCriterion("Equipment.channelNumber not like", value, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberIn(List<String> values) {
            addCriterion("Equipment.channelNumber in", values, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberNotIn(List<String> values) {
            addCriterion("Equipment.channelNumber not in", values, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberBetween(String value1, String value2) {
            addCriterion("Equipment.channelNumber between", value1, value2, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andChannelnumberNotBetween(String value1, String value2) {
            addCriterion("Equipment.channelNumber not between", value1, value2, "channelnumber");
            return (Criteria) this;
        }

        public Criteria andModelIsNull() {
            addCriterion("Equipment.model is null");
            return (Criteria) this;
        }

        public Criteria andModelIsNotNull() {
            addCriterion("Equipment.model is not null");
            return (Criteria) this;
        }

        public Criteria andModelEqualTo(String value) {
            addCriterion("Equipment.model =", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotEqualTo(String value) {
            addCriterion("Equipment.model <>", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelGreaterThan(String value) {
            addCriterion("Equipment.model >", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.model >=", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelLessThan(String value) {
            addCriterion("Equipment.model <", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelLessThanOrEqualTo(String value) {
            addCriterion("Equipment.model <=", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelLike(String value) {
            addCriterion("Equipment.model like", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotLike(String value) {
            addCriterion("Equipment.model not like", value, "model");
            return (Criteria) this;
        }

        public Criteria andModelIn(List<String> values) {
            addCriterion("Equipment.model in", values, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotIn(List<String> values) {
            addCriterion("Equipment.model not in", values, "model");
            return (Criteria) this;
        }

        public Criteria andModelBetween(String value1, String value2) {
            addCriterion("Equipment.model between", value1, value2, "model");
            return (Criteria) this;
        }

        public Criteria andModelNotBetween(String value1, String value2) {
            addCriterion("Equipment.model not between", value1, value2, "model");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("Equipment.version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("Equipment.version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(String value) {
            addCriterion("Equipment.version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(String value) {
            addCriterion("Equipment.version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(String value) {
            addCriterion("Equipment.version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(String value) {
            addCriterion("Equipment.version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(String value) {
            addCriterion("Equipment.version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLike(String value) {
            addCriterion("Equipment.version like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotLike(String value) {
            addCriterion("Equipment.version not like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<String> values) {
            addCriterion("Equipment.version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<String> values) {
            addCriterion("Equipment.version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(String value1, String value2) {
            addCriterion("Equipment.version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(String value1, String value2) {
            addCriterion("Equipment.version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeIsNull() {
            addCriterion("Equipment.lastOnlineTime is null");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeIsNotNull() {
            addCriterion("Equipment.lastOnlineTime is not null");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeEqualTo(Date value) {
            addCriterion("Equipment.lastOnlineTime =", value, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeNotEqualTo(Date value) {
            addCriterion("Equipment.lastOnlineTime <>", value, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeGreaterThan(Date value) {
            addCriterion("Equipment.lastOnlineTime >", value, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Equipment.lastOnlineTime >=", value, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeLessThan(Date value) {
            addCriterion("Equipment.lastOnlineTime <", value, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeLessThanOrEqualTo(Date value) {
            addCriterion("Equipment.lastOnlineTime <=", value, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeIn(List<Date> values) {
            addCriterion("Equipment.lastOnlineTime in", values, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeNotIn(List<Date> values) {
            addCriterion("Equipment.lastOnlineTime not in", values, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeBetween(Date value1, Date value2) {
            addCriterion("Equipment.lastOnlineTime between", value1, value2, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andLastonlinetimeNotBetween(Date value1, Date value2) {
            addCriterion("Equipment.lastOnlineTime not between", value1, value2, "lastonlinetime");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("Equipment.state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("Equipment.state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("Equipment.state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("Equipment.state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("Equipment.state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("Equipment.state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("Equipment.state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("Equipment.state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("Equipment.state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("Equipment.state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("Equipment.state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("Equipment.state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("Equipment.state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateinstructionIsNull() {
            addCriterion("Equipment.stateInstruction is null");
            return (Criteria) this;
        }

        public Criteria andStateinstructionIsNotNull() {
            addCriterion("Equipment.stateInstruction is not null");
            return (Criteria) this;
        }

        public Criteria andStateinstructionEqualTo(String value) {
            addCriterion("Equipment.stateInstruction =", value, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionNotEqualTo(String value) {
            addCriterion("Equipment.stateInstruction <>", value, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionGreaterThan(String value) {
            addCriterion("Equipment.stateInstruction >", value, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionGreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.stateInstruction >=", value, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionLessThan(String value) {
            addCriterion("Equipment.stateInstruction <", value, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionLessThanOrEqualTo(String value) {
            addCriterion("Equipment.stateInstruction <=", value, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionLike(String value) {
            addCriterion("Equipment.stateInstruction like", value, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionNotLike(String value) {
            addCriterion("Equipment.stateInstruction not like", value, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionIn(List<String> values) {
            addCriterion("Equipment.stateInstruction in", values, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionNotIn(List<String> values) {
            addCriterion("Equipment.stateInstruction not in", values, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionBetween(String value1, String value2) {
            addCriterion("Equipment.stateInstruction between", value1, value2, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andStateinstructionNotBetween(String value1, String value2) {
            addCriterion("Equipment.stateInstruction not between", value1, value2, "stateinstruction");
            return (Criteria) this;
        }

        public Criteria andExtstr1IsNull() {
            addCriterion("Equipment.extStr1 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr1IsNotNull() {
            addCriterion("Equipment.extStr1 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr1EqualTo(Integer value) {
            addCriterion("Equipment.extStr1 =", value, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1NotEqualTo(Integer value) {
            addCriterion("Equipment.extStr1 <>", value, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1GreaterThan(Integer value) {
            addCriterion("Equipment.extStr1 >", value, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1GreaterThanOrEqualTo(Integer value) {
            addCriterion("Equipment.extStr1 >=", value, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1LessThan(Integer value) {
            addCriterion("Equipment.extStr1 <", value, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1LessThanOrEqualTo(Integer value) {
            addCriterion("Equipment.extStr1 <=", value, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1Like(Integer value) {
            addCriterion("Equipment.extStr1 like", value, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1NotLike(Integer value) {
            addCriterion("Equipment.extStr1 not like", value, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1In(List<Integer> values) {
            addCriterion("Equipment.extStr1 in", values, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1NotIn(List<Integer> values) {
            addCriterion("Equipment.extStr1 not in", values, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1Between(Integer value1, Integer value2) {
            addCriterion("Equipment.extStr1 between", value1, value2, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr1NotBetween(Integer value1, Integer value2) {
            addCriterion("Equipment.extStr1 not between", value1, value2, "extstr1");
            return (Criteria) this;
        }

        public Criteria andExtstr2IsNull() {
            addCriterion("Equipment.extStr2 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr2IsNotNull() {
            addCriterion("Equipment.extStr2 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr2EqualTo(String value) {
            addCriterion("Equipment.extStr2 =", value, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2NotEqualTo(String value) {
            addCriterion("Equipment.extStr2 <>", value, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2GreaterThan(String value) {
            addCriterion("Equipment.extStr2 >", value, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2GreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr2 >=", value, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2LessThan(String value) {
            addCriterion("Equipment.extStr2 <", value, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2LessThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr2 <=", value, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2Like(String value) {
            addCriterion("Equipment.extStr2 like", value, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2NotLike(String value) {
            addCriterion("Equipment.extStr2 not like", value, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2In(List<String> values) {
            addCriterion("Equipment.extStr2 in", values, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2NotIn(List<String> values) {
            addCriterion("Equipment.extStr2 not in", values, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2Between(String value1, String value2) {
            addCriterion("Equipment.extStr2 between", value1, value2, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr2NotBetween(String value1, String value2) {
            addCriterion("Equipment.extStr2 not between", value1, value2, "extstr2");
            return (Criteria) this;
        }

        public Criteria andExtstr3IsNull() {
            addCriterion("Equipment.extStr3 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr3IsNotNull() {
            addCriterion("Equipment.extStr3 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr3EqualTo(String value) {
            addCriterion("Equipment.extStr3 =", value, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3NotEqualTo(String value) {
            addCriterion("Equipment.extStr3 <>", value, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3GreaterThan(String value) {
            addCriterion("Equipment.extStr3 >", value, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3GreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr3 >=", value, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3LessThan(String value) {
            addCriterion("Equipment.extStr3 <", value, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3LessThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr3 <=", value, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3Like(String value) {
            addCriterion("Equipment.extStr3 like", value, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3NotLike(String value) {
            addCriterion("Equipment.extStr3 not like", value, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3In(List<String> values) {
            addCriterion("Equipment.extStr3 in", values, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3NotIn(List<String> values) {
            addCriterion("Equipment.extStr3 not in", values, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3Between(String value1, String value2) {
            addCriterion("Equipment.extStr3 between", value1, value2, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr3NotBetween(String value1, String value2) {
            addCriterion("Equipment.extStr3 not between", value1, value2, "extstr3");
            return (Criteria) this;
        }

        public Criteria andExtstr4IsNull() {
            addCriterion("Equipment.extStr4 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr4IsNotNull() {
            addCriterion("Equipment.extStr4 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr4EqualTo(String value) {
            addCriterion("Equipment.extStr4 =", value, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4NotEqualTo(String value) {
            addCriterion("Equipment.extStr4 <>", value, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4GreaterThan(String value) {
            addCriterion("Equipment.extStr4 >", value, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4GreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr4 >=", value, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4LessThan(String value) {
            addCriterion("Equipment.extStr4 <", value, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4LessThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr4 <=", value, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4Like(String value) {
            addCriterion("Equipment.extStr4 like", value, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4NotLike(String value) {
            addCriterion("Equipment.extStr4 not like", value, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4In(List<String> values) {
            addCriterion("Equipment.extStr4 in", values, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4NotIn(List<String> values) {
            addCriterion("Equipment.extStr4 not in", values, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4Between(String value1, String value2) {
            addCriterion("Equipment.extStr4 between", value1, value2, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr4NotBetween(String value1, String value2) {
            addCriterion("Equipment.extStr4 not between", value1, value2, "extstr4");
            return (Criteria) this;
        }

        public Criteria andExtstr5IsNull() {
            addCriterion("Equipment.extStr5 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr5IsNotNull() {
            addCriterion("Equipment.extStr5 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr5EqualTo(String value) {
            addCriterion("Equipment.extStr5 =", value, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5NotEqualTo(String value) {
            addCriterion("Equipment.extStr5 <>", value, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5GreaterThan(String value) {
            addCriterion("Equipment.extStr5 >", value, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5GreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr5 >=", value, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5LessThan(String value) {
            addCriterion("Equipment.extStr5 <", value, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5LessThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr5 <=", value, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5Like(String value) {
            addCriterion("Equipment.extStr5 like", value, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5NotLike(String value) {
            addCriterion("Equipment.extStr5 not like", value, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5In(List<String> values) {
            addCriterion("Equipment.extStr5 in", values, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5NotIn(List<String> values) {
            addCriterion("Equipment.extStr5 not in", values, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5Between(String value1, String value2) {
            addCriterion("Equipment.extStr5 between", value1, value2, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr5NotBetween(String value1, String value2) {
            addCriterion("Equipment.extStr5 not between", value1, value2, "extstr5");
            return (Criteria) this;
        }

        public Criteria andExtstr6IsNull() {
            addCriterion("Equipment.extStr6 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr6IsNotNull() {
            addCriterion("Equipment.extStr6 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr6EqualTo(String value) {
            addCriterion("Equipment.extStr6 =", value, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6NotEqualTo(String value) {
            addCriterion("Equipment.extStr6 <>", value, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6GreaterThan(String value) {
            addCriterion("Equipment.extStr6 >", value, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6GreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr6 >=", value, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6LessThan(String value) {
            addCriterion("Equipment.extStr6 <", value, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6LessThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr6 <=", value, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6Like(String value) {
            addCriterion("Equipment.extStr6 like", value, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6NotLike(String value) {
            addCriterion("Equipment.extStr6 not like", value, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6In(List<String> values) {
            addCriterion("Equipment.extStr6 in", values, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6NotIn(List<String> values) {
            addCriterion("Equipment.extStr6 not in", values, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6Between(String value1, String value2) {
            addCriterion("Equipment.extStr6 between", value1, value2, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr6NotBetween(String value1, String value2) {
            addCriterion("Equipment.extStr6 not between", value1, value2, "extstr6");
            return (Criteria) this;
        }

        public Criteria andExtstr7IsNull() {
            addCriterion("Equipment.extStr7 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr7IsNotNull() {
            addCriterion("Equipment.extStr7 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr7EqualTo(String value) {
            addCriterion("Equipment.extStr7 =", value, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7NotEqualTo(String value) {
            addCriterion("Equipment.extStr7 <>", value, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7GreaterThan(String value) {
            addCriterion("Equipment.extStr7 >", value, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7GreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr7 >=", value, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7LessThan(String value) {
            addCriterion("Equipment.extStr7 <", value, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7LessThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr7 <=", value, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7Like(String value) {
            addCriterion("Equipment.extStr7 like", value, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7NotLike(String value) {
            addCriterion("Equipment.extStr7 not like", value, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7In(List<String> values) {
            addCriterion("Equipment.extStr7 in", values, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7NotIn(List<String> values) {
            addCriterion("Equipment.extStr7 not in", values, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7Between(String value1, String value2) {
            addCriterion("Equipment.extStr7 between", value1, value2, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr7NotBetween(String value1, String value2) {
            addCriterion("Equipment.extStr7 not between", value1, value2, "extstr7");
            return (Criteria) this;
        }

        public Criteria andExtstr8IsNull() {
            addCriterion("Equipment.extStr8 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr8IsNotNull() {
            addCriterion("Equipment.extStr8 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr8EqualTo(String value) {
            addCriterion("Equipment.extStr8 =", value, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8NotEqualTo(String value) {
            addCriterion("Equipment.extStr8 <>", value, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8GreaterThan(String value) {
            addCriterion("Equipment.extStr8 >", value, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8GreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr8 >=", value, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8LessThan(String value) {
            addCriterion("Equipment.extStr8 <", value, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8LessThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr8 <=", value, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8Like(String value) {
            addCriterion("Equipment.extStr8 like", value, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8NotLike(String value) {
            addCriterion("Equipment.extStr8 not like", value, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8In(List<String> values) {
            addCriterion("Equipment.extStr8 in", values, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8NotIn(List<String> values) {
            addCriterion("Equipment.extStr8 not in", values, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8Between(String value1, String value2) {
            addCriterion("Equipment.extStr8 between", value1, value2, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr8NotBetween(String value1, String value2) {
            addCriterion("Equipment.extStr8 not between", value1, value2, "extstr8");
            return (Criteria) this;
        }

        public Criteria andExtstr9IsNull() {
            addCriterion("Equipment.extStr9 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr9IsNotNull() {
            addCriterion("Equipment.extStr9 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr9EqualTo(String value) {
            addCriterion("Equipment.extStr9 =", value, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9NotEqualTo(String value) {
            addCriterion("Equipment.extStr9 <>", value, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9GreaterThan(String value) {
            addCriterion("Equipment.extStr9 >", value, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9GreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr9 >=", value, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9LessThan(String value) {
            addCriterion("Equipment.extStr9 <", value, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9LessThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr9 <=", value, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9Like(String value) {
            addCriterion("Equipment.extStr9 like", value, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9NotLike(String value) {
            addCriterion("Equipment.extStr9 not like", value, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9In(List<String> values) {
            addCriterion("Equipment.extStr9 in", values, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9NotIn(List<String> values) {
            addCriterion("Equipment.extStr9 not in", values, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9Between(String value1, String value2) {
            addCriterion("Equipment.extStr9 between", value1, value2, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr9NotBetween(String value1, String value2) {
            addCriterion("Equipment.extStr9 not between", value1, value2, "extstr9");
            return (Criteria) this;
        }

        public Criteria andExtstr10IsNull() {
            addCriterion("Equipment.extStr10 is null");
            return (Criteria) this;
        }

        public Criteria andExtstr10IsNotNull() {
            addCriterion("Equipment.extStr10 is not null");
            return (Criteria) this;
        }

        public Criteria andExtstr10EqualTo(String value) {
            addCriterion("Equipment.extStr10 =", value, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10NotEqualTo(String value) {
            addCriterion("Equipment.extStr10 <>", value, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10GreaterThan(String value) {
            addCriterion("Equipment.extStr10 >", value, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10GreaterThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr10 >=", value, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10LessThan(String value) {
            addCriterion("Equipment.extStr10 <", value, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10LessThanOrEqualTo(String value) {
            addCriterion("Equipment.extStr10 <=", value, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10Like(String value) {
            addCriterion("Equipment.extStr10 like", value, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10NotLike(String value) {
            addCriterion("Equipment.extStr10 not like", value, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10In(List<String> values) {
            addCriterion("Equipment.extStr10 in", values, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10NotIn(List<String> values) {
            addCriterion("Equipment.extStr10 not in", values, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10Between(String value1, String value2) {
            addCriterion("Equipment.extStr10 between", value1, value2, "extstr10");
            return (Criteria) this;
        }

        public Criteria andExtstr10NotBetween(String value1, String value2) {
            addCriterion("Equipment.extStr10 not between", value1, value2, "extstr10");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}